package com.google.code.meitt.model;

public class InitGame {
	private String userName;
	private String gameId;

	public InitGame(String user, String game) {
		userName = user;
		gameId = game;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getGameId() {
		return gameId;
	}
	
	public Integer getGameIdInt(){
		return new Integer(gameId.replace("game-", ""));
	}

	public void setGameId(String gameId) {
		this.gameId = gameId;
	}
}
